package com.css.fxfzypg.modules.baseData.service;

import com.alibaba.fastjson.JSONObject;
import com.css.fxfzypg.modules.baseData.queryParams.SchoolQueryParams;
import com.css.fxfzypg.modules.baseData.entity.SchoolEntity;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * @author y1fan
 * @create 2022-08-15 17:19
 */
public interface SchooleService {


    SchoolEntity saveSchool(SchoolEntity schoolEntity);

    SchoolEntity findSchoolById(String dataSchoolId);

    Map<String,Object> getAllSchoolByParams(SchoolQueryParams queryParams);

    void deleteSchool(List<Integer> ids);

    void exportExcel(HttpServletResponse response)throws IOException;

    void importExcel(MultipartFile file)throws IOException;
}
